filename_drive


Description

This function returns the drive information of the filename.


Syntax:

filename_drive(fname);

Argument Description
fname The file to use.


Returns:

String


Example:

drive = filename_drive(file_find_first(working_directory + "*.doc", 0));

The above code gets the drive information (as a string) of the specified file.